home *** CD-ROM | disk | FTP | other *** search
- // =================================================================
- // Oracle.cpp
- // =================================================================
- // Harold Kasperink / John Dekker
- // Dr. Dobb's Journal 1997
- // =================================================================
- // This file should contain the code that you have generated
- // with an embedded C/C++ compiler for SQL
- // =================================================================
- #include "oracle.h"
-
- ////////////////////////////////////////////////////////////////////
- // DB_Connect
- ////////////////////////////////////////////////////////////////////
- // Connect with database session to oracle
- // with username/password@server in pszUsr
- ////////////////////////////////////////////////////////////////////
- long DB_Connect(const char *pszUsr)
- {
- return 0;
- }
-
- ////////////////////////////////////////////////////////////////////
- // DB_Disconnect
- ////////////////////////////////////////////////////////////////////
- // Disconnect from oracle
- ////////////////////////////////////////////////////////////////////
- long DB_Disconnect()
- {
- return 0;
- }
-
- ////////////////////////////////////////////////////////////////////
- // DB_Commit
- ////////////////////////////////////////////////////////////////////
- // Commit transaction for database session
- ////////////////////////////////////////////////////////////////////
- long DB_Commit(void *pCmd)
- {
- return 0;
- }
-
- ////////////////////////////////////////////////////////////////////
- // DB_Rollback
- ////////////////////////////////////////////////////////////////////
- // Rollback transaction for database session
- ////////////////////////////////////////////////////////////////////
- long DB_Rollback(void *pCmd)
- {
- return 0;
- }
-
- ////////////////////////////////////////////////////////////////////
- // DB_FindPerson
- ////////////////////////////////////////////////////////////////////
- // Find a if person exists in the database
- ////////////////////////////////////////////////////////////////////
- long DB_FindPerson(void *pCmd, char *pszFirstName, char *pszLastName)
- {
- return 0;
- }
-